Skip to content

Conversation

@POABOB
Copy link

@POABOB POABOB commented Jul 8, 2025

Explain your user case and expected results

When I run this case, I need to make the SQL statement like below:

SELECT * FROM `users` WHERE `users`.`is_deleted` = "false" AND `users`.`deleted_at` IS NULL

Not this:

SELECT * FROM `users` WHERE `users`.`users`.`is_deleted` = "false" AND `users`.`deleted_at` IS NULL

The error occured when I upgrade the gorm version from v1.25.9 to v.1.30.0. The newer should be compatible with the older version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant